﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using VSA.Interfaces.Business;
using VSA.DataAccess;

namespace VSA.Business
{
    public class BusinessBase : IBusinessBase<VSADataContext>
    {
        public BusinessBase()
        {
            db = new VSADataContext("server=.;database=Northwind;uid=sa;pwd=1");
        }

        private VSADataContext db;
        public VSADataContext DataContext
        {
            get
            {
                return db;
            }
            set
            {
                this.db = value;
            }
        }
    }
}
